package date;

import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author： pang-yun
 * @date： 2021-10-28 11:37
 * 功能目的 ：用于
 */

public class SimpleDate {
    public static void main(String[] args) {
       /* SimpleDateFormat yyyyMMdd = new SimpleDateFormat("yyyyMMdd");
        ExecutorService executorService = Executors.newFixedThreadPool(10);*/

        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMMdd");
        System.out.println(LocalDate.parse("20191202", formatter));

    }
}
